function dyx_instanceof(obj, fn){
    let x = obj.__proto__,
        y = fn.prototype
    while(x!==y){
        x = x.__proto__;
        if(x === null){
            return false
        }
    }
    return true
}